package com.mms.model.vo;

import java.util.List;

/**
 * @auth wzy
 * @date 2023/11/25 11:36
 */
public class TableData<T> {

    private List<T> rows;

    private Long total;

    public TableData() {
    }

    public TableData(List<T> rows, Long total) {
        this.rows = rows;
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
